package se.topshelf.golftracker.core.domain;

/**
 * Describes characteristic of a golf shot.
 */
public enum ShotCharacteristic {
    DUFF("Duff"), TOP("Top"), SLICE("Slice"), FADE("Fade"), HOOK("Hook"),
    DRAW("Draw"), PULL("Pull"), PUSH("Push"), SKY("Sky"), SOCKET("Socket"), COMPLETE_MIS("Complete miss");

    ShotCharacteristic(String description) {
        this.description = description;
    }

    private String description;

    public String getDescription() {
        return description;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder();
        sb.append("ShotCharacteristic");
        sb.append("{description='").append(description).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
